package com.eastfair.venuebooking.service;

import com.eastfair.boot.service.SuperService;
import com.eastfair.venuebooking.dto.SpaceCategoryPageQuery;
import com.eastfair.venuebooking.dto.SpaceCategorySaveDTO;
import com.eastfair.venuebooking.dto.SpaceCategoryUpdateDTO;
import com.eastfair.venuebooking.entity.SpaceCategory;
import com.eastfair.venuebooking.vo.SpaceCategoryVO;

import java.util.List;

/**
 * <p>
 * 业务接口
 * 场地分类表
 * </p>
 *
 * @author linan
 * @date 2022-06-08
 */
public interface SpaceCategoryService extends SuperService<SpaceCategory> {

    List<SpaceCategoryVO> querySpaceCategoryList(SpaceCategoryPageQuery spaceCategoryPageQuery);

    /**
     * 展厅分类名称批量查询展厅分类.
     *
     * @param spaceCategoryNames the space names
     * @return the list
     */
    List<SpaceCategory> listByCategoryNames(List<String> spaceCategoryNames);

    Boolean saveSpaceCategoryInfo(SpaceCategorySaveDTO spaceCategorySaveDTO);

    Boolean  updateSpaceCategoryInfo(SpaceCategoryUpdateDTO spaceCategoryUpdateDTO);

    Boolean  delSpaceCategoryInfoById(Long id);

}
